package com.woniu.mapper;

import com.woniu.entity.FlowerType;
import com.woniu.vo.FlowerTypeVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface FlowerTypeMapper extends Mapper<FlowerType> {

    List<FlowerTypeVo> findFlowerTypes() throws Exception;

    FlowerType selectFlowerTypeNameAndId(@Param("typeId") Integer typeId, @Param("typeName") String typeName) throws Exception;

    List<FlowerTypeVo> selectFlowerTypesByLikeName(FlowerTypeVo flowerTypeVo) throws Exception;
}